# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:       王景渊  
# Name:         5.2
# Description:
# Author:       dell
# Date:         2019/3/2
#-------------------------------------------------------------------------------
a = int(input('请输入一个数：'))
i = 1
while a > 0:
    if i<= a:
        print(((2*i - 1)*'*').center(a*2 - 1))
        i += 1
    else:
        break

